<?php
namespace Home\Controller;
use Think\Controller;

class SkuController extends LoginBaseController{
	/**
	 * sku列表显示
	 */
	public function skuList(){
		$this->assign('module_id',	'style');
		$this->assign('page_id',	'skuList');
		$this->assign('page_name',	'sku信息列表');
		$this->display('sku/list');
    }
    
    
    /**
     * sku详情页面
     */
    public function detail(){
    	$sku_id = I('sku_id');
    	$sku_en = M('sku','','DB_trade')->where("sku_id='%s'", $sku_id)->find();
    	$this->assign('sku_en', $sku_en);
    	$this->assign('module_id',	'style');
		$this->assign('page_id',	'skuList');
		$this->assign('page_name',	'sku信息列表');
    	$this->display('sku/detail');
    }
    
    /**
     * sku详情页面
     */
    public function addSku(){
    	$this->assign('module_id',	'style');
    	$this->assign('page_id',	'skuList');
    	$this->assign('page_name',	'sku信息列表');
    	$this->display('sku/addSku');
    }
    
    
  
}